package com.example.experiment07.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @description:
 * @author: YancyZhang
 * @time: 2022/6/21 12:48
 */
@Data
@AllArgsConstructor
public class User {
    private Long id;
    private String name;
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String password;
}